package com.sline.chario;

import java.io.FileReader;
import java.io.IOException;

public class Demo1_FileReader {
    public static void main(String[] args) throws IOException {
        FileReader fr = new FileReader("abc.txt");

        int a;
        while ((a = fr.read()) != -1) {
            System.out.println((char)a);
        }

        fr.close();
    }
}
